package com.badminton.HubSys.mapper;

import java.util.List;
import com.badminton.HubSys.domain.EquipmentHub;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EquipmentHubMapper {
    EquipmentHub selectEquipmentHubByEquipmentid(Long equipmentid);

    List<EquipmentHub> selectEquipmentHubList(EquipmentHub equipmentHub);

    int insertEquipmentHub(EquipmentHub equipmentHub);

    int updateEquipmentHub(EquipmentHub equipmentHub);

    int deleteEquipmentHubByEquipmentid(Long equipmentid);

    int deleteEquipmentHubByEquipmentids(Long[] equipmentids);

    int deleteEquipmentRecommendationByEquipmentID(Long equipmentid);

    int deleteEquipmentReviewByEquipmentID(Long equipmentid);

    int deleteUserFavoritesByEquipmentID(Long equipmentid);
}